body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-image: url('../static/background.png');
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
color: #333;
}
a {
text-decoration: none;
color: #007bff;
}
a:hover {
color: #0056b3;
}
.navbar {
background-color: rgba(52, 58, 64, 0.9);
padding: 1rem;
}
.navbar-container {
display: flex;
justify-content: space-between;
align-items: center;
}
.navbar-brand {
color: #fff;
font-size: 1.5rem;
}
.navbar-nav {
list-style: none;
display: flex;
margin: 0;
padding: 0;
}
.navbar-nav li {
margin-left: 1rem;
}
.navbar-nav a {
color: #fff;
padding: 0.5rem 1rem;
border-radius: 0.25rem;
}
.navbar-nav a:hover {
background-color: #495057;
}
.container {
max-width: 960px;
margin: 2rem auto;
padding: 1rem;
background-color: rgba(255, 255, 255, 0.9);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
border-radius: 0.25rem;
}
ˇ
闪现消息 ʺ
.alert {
background-color: #e9ecef;
padding: 1rem;
border-radius: 0.25rem;
margin-bottom: 1rem;
}
.alert p {
margin: 0;
}
.welcome {
text-align: center;
}
.welcome h1 {
font-size: 2.5rem;
margin-bottom: 1rem;
}
.welcome p {
font-size: 1.25rem;
margin-bottom: 1.5rem;
}
.welcome .btn {
display: inline-block;
padding: 0.75rem 1.5rem;
background-color: #007bff;
color: #fff;
border-radius: 0.25rem;
transition: background-color 0.3s;
}
.welcome .btn:hover {
    background-color: #0056b3;
}